import {apiResquest} from '@/utils/Http.js'

 // headers: {  
 //        'Content-Type': 'application/json',  
 //        'appId': '1'  
 //    }, 
// 查询轮播图
export const getBanner = params => {
    return apiResquest({
      url: "/api/banner/query",
      method: "get",
      data: params
    });
};

// 获取菜单
export const getMenu = params => {
    return apiResquest({
      url: "/api/homeMenu",
      method: "get",
      data: params
    });
};

// 获取门诊挂号信息
export const getRegistered = params => {
    return apiResquest({
      url: "/api/outPatient/queryRegistered",
      method: "get",
      data: params
    });
};

// 获取门诊处方信息
export const getPrescription = params => {
    return apiResquest({
      url: "/api/outPatient/queryPrescription",
      method: "post",
      data: params
    });
};
// 处方明细查询
export const getPayDetail = params => {
    return apiResquest({
      url: "/api/outPatient/queryDetailed",
      method: "get",
      data: params
    });
};
// 处方明细查询
export const getPayDetails = params => {
    return apiResquest({
      url: "/api/outPatient/queryPrescriptionDetails",
      method: "get",
      data: params
    });
};

// 获取报告信息
export const getCheckExamList = params => {
    return apiResquest({
      url: "/api/reportQuery/queryCheckExamList",
      method: "post",
      data: params
    });
};
// 获取报告详情信息
export const getCheckExamDetail = params => {
    return apiResquest({
      url: "/api/reportQuery/queryCheckExam",
      method: "get",
      data: params
    });
};

/* // 获取体检报告列表
export const getPhysicalList = params => {
    return apiResquest({
      url: "/api/reportQuery/physicalConclusion",
      method: "get",
      data: params
    });
};
// 获取体检报告详情
export const getPhysicalDetail = params => {
    return apiResquest({
      url: '/api​/reportQuery​/physicalExamination',
      method: "get",
      data: params
    });
}; */

// 获取住院信息列表
export const getHospitalization = params => {
    return apiResquest({
      url: '/api/inAdvancePayment/queryInPatientInfo',
      method: "get",
      data: params
    });
};
// 获取历史预交金额列表
export const getAdvancePayList = params => {
    return apiResquest({
      url: '/api/inAdvancePayment/queryPayDetails',
      method: "get",
      data: params
    });
};
// 获取一日清单信息
export const getOneDayInfo = params => {
    return apiResquest({
      url: '/api/inAdvancePayment/queryInPatientOneDayList',
      method: "get",
      data: params
    });
};
// 获取所有费用信息
export const getCostList = params => {
    return apiResquest({
      url: '/api/inAdvancePayment/queryInPatientExpenseList',
      method: "get",
      data: params
    });
};

// 获取就医评价列表
export const getEvaluateRegistered = params => {
    return apiResquest({
      url: '/api/question/visitEvaluate',
      method: "get",
      data: params
    });
};
// 就医评价
export const poEvaluateRegistered = params => {
    return apiResquest({
      url: '/api/question/savePatientVisit',
      method: "post",
      data: params
    });
};

// 物价公示
export const getPricePub = params => {
    return apiResquest({
      url: '/api/outPatient/queryPricePublicity',
      method: "get",
      data: params
    });
};

// 出院带药
export const getTakeMedicine = params => {
    return apiResquest({
      url: '/api/inAdvancePayment/queryTakeMedicine',
      method: "get",
      data: params
    });
};

// 手术信息
export const getOperation = params => {
    return apiResquest({
      url: '/api/inAdvancePayment/queryOperation',
      method: "get",
      data: params
    });
};

